Searched hist:ad90feba (Results 1 – 1 of 1) sorted by relevance
/qemu/ |
H A D | blockjob.c | ad90feba Tue Dec 12 18:04:28 GMT 2017 Kevin Wolf <kwolf@redhat.com> blockjob: Pause job on draining any job BDS
Block jobs already paused themselves when their main BlockBackend entered a drained section. This is not good enough: We also want to pause a block job and may not submit new requests if, for example, the mirror target node should be drained.
This implements .drained_begin/end callbacks in child_job in order to consider all block nodes related to the job, and removes the BlockBackend callbacks which are unnecessary now because the root of the job main BlockBackend is always referenced with a child_job, too.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|